package com.situ.gym.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.situ.gym.pojo.User;
import com.situ.gym.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.situ.gym.pojo.query.UserQuery;
import com.situ.gym.pojo.vo.ChartCountVO;
import com.situ.gym.pojo.vo.WeekDayCountVO;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2025-08-22
 */
public interface UserMapper extends BaseMapper<User> {

    List<WeekDayCountVO> selectUserCount(Date date);

    IPage<User> list(IPage<User> page, UserQuery userQuery);

    void deleteAll(Integer[] ids);


    User selectByName(String name);
}
